package com.ruoyi.utils;

import com.ruoyi.common.utils.spring.SpringUtils;
import com.ruoyi.system.service.ISysDictDataService;

/**
 * 功能描述：
 *
 * @Author: 96170
 * @Date: 2022/7/1 11:20
 */
public class DictDataUtil {
    public static ISysDictDataService sysDictDataService = SpringUtils.getBean(ISysDictDataService.class);

    public static String  getDictString(String dictType, String dictValue){
       return  sysDictDataService.selectDictLabel(dictType, dictValue);
    }


}
